package com.hks360.car_treasure.model.Add;

import com.hks360.car_treasure.model.BaseModel;
import com.hks360.car_treasure.model.TboxInfo;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by rwq on 2016/4/26.
 */
public class User extends BaseModel {

    @Override
    public String toString() {
        if(tboxinfo!=null){
            return "User{" +
                    "truename='" + truename + '\'' +
                    ", email='" + email + '\'' +
                    ", tboxinfo=" + tboxinfo.toString() +
                    '}';
        }else {
            return "出错";
        }

    }

    /**
     * truename : 蒋永刚
     * email :
     * tboxinfo : [{"tboxid":"868323022182338","cph":"浙A12345","equipment":"Y10100","phone":"","softversion":"11","tboxtime":"1"}]
     */

    private String truename;
    private String email;
    /**
     * tboxid : 868323022182338
     * cph : 浙A12345
     * equipment : Y10100
     * phone :
     * softversion : 11
     * tboxtime : 1
     */

    private List<TboxInfo> tboxinfo;

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public List<TboxInfo> getTboxinfo() {
        return tboxinfo;
    }

    public void setTboxinfo(List<TboxInfo> tboxinfo) {
        this.tboxinfo = tboxinfo;
    }

}
